package com.alili_tv.system.service.impl;

import com.alili_tv.system.entity.VideoFavoriteFolder;
import com.alili_tv.system.mapper.VideoFavoriteFolderMapper;
import com.alili_tv.system.service.VideoFavoriteFolderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VideoFavoriteFolderServiceImpl extends ServiceImpl<VideoFavoriteFolderMapper, VideoFavoriteFolder> implements VideoFavoriteFolderService {

    @Resource
    private VideoFavoriteFolderMapper vfFolderMapper;

    @Override
    public List<VideoFavoriteFolder> getFavorInfo(long userId, long videoId) {
        return vfFolderMapper.getFavorInfo(userId, videoId);
    }
}
